package org.zoomdev.zoom;

import org.zoomdev.zoom.security.annotations.SensitiveBankCard;
import org.zoomdev.zoom.security.annotations.SensitiveChineseName;
import org.zoomdev.zoom.security.annotations.SensitiveIdCard;
import org.zoomdev.zoom.security.annotations.SensitivePhone;

public class User {

    @SensitiveChineseName
    private String name;

    @TestRule.SensitiveEmail
    private String email;

    private boolean adult;

    @SensitiveIdCard
    private String idCard;

    @SensitivePhone
    private String phone;

    @SensitiveBankCard
    private String bankCard;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isAdult() {
        return adult;
    }

    public void setAdult(boolean adult) {
        this.adult = adult;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getBankCard() {
        return bankCard;
    }

    public void setBankCard(String bankCard) {
        this.bankCard = bankCard;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
